package com.xucy.springboot.designmodel.creational.abstractfactory;

/**
 * @Author xucy
 * @Date 2019-07-14 16:46
 * @Description
 **/

public class JavaSourseFactory implements SourseFactory {


    @Override
    public Book produceBook() {
        return new JavaBook();
    }

    @Override
    public Video produceVideo() {
        return new JavaVideo();
    }
}
